package admin

import "github.com/maxyang107/jinglan/model/system"

var (
	AdminConfigService = &ConfigSer{}
)

type ConfigSer struct{}

func (c ConfigSer) AddOrUpdateConfig(param system.SysConfig) error {
	return system.AddOrUpdateConfig(param)
}

func (c ConfigSer) GetSysConfigList() *system.ConfigList {
	return system.GetSysConfigList()
}
